home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Frameworks / Sprocket Framework DR2 / Sprocket Nothing / SprocketNothing Code / EmptyWindow.h < prev    next >
Encoding:
Text File  |  1996-06-15  |  711 b   |  34 lines  |  [TEXT/CWIE]

  1. // Sprocket Framework header file
  2. // EmptyWindow.h
  3.  
  4.  
  5. #ifndef        _EMPTYWINDOW_
  6. #define        _EMPTYWINDOW_
  7.  
  8. #ifndef        _WINDOW_
  9. #include    "Window.h"
  10. #endif
  11.  
  12.  
  13. class    TEmptyWindow : public TWindow
  14. {
  15. // Right now, this class just overrides the absolute bare essentials.
  16. // Examine TWindow.h to explore all the possible default functionality of a TWindow
  17. // that can be overriden.  Its quite extensive!
  18.  
  19.   public:
  20.                             TEmptyWindow();
  21.     virtual                 ~TEmptyWindow();
  22.  
  23.     virtual WindowRef        MakeNewWindow( WindowRef behindWindow );
  24.  
  25.     virtual void            Draw(void);
  26.     
  27.     virtual void            Activate( Boolean activating );
  28.     
  29.     virtual    Boolean            DoCommand(CommandID theCommand);
  30.     virtual void            AdjustMenusBeforeMenuSelection(void);
  31. };
  32.  
  33. #endif
  34.